app: improve code of extract_accels_from_menu()
authorSébastien Wilmet <swilmet@gnome.org>
Sun, 10 Apr 2016 10:41:09 +0000 (12:41 +0200)
committerSébastien Wilmet <swilmet@gnome.org>
Sun, 10 Apr 2016 14:54:07 +0000 (16:54 +0200)
commit1f87c1cc0bec13db3641631f298e8f4a830ca455
tree251ada224a7df3038e2421eed7dbdc33ca9455a6
parent687d3eb48f864bd7255b59a9eb9d77b851b341a2
app: improve code of extract_accels_from_menu()

sub_model is clearer than "m". And we don't use the key, so we can pass
NULL instead.

https://bugzilla.gnome.org/show_bug.cgi?id=764846
gtk/gtkapplication.c